<?php

$pretend_site_is_full = false;

if ( $building_pretending_to_be_mobile ) {

	// Rudimentary detection of whether user is mobile, or on a laptop.
	$detect = strtolower($_SERVER['HTTP_USER_AGENT']);
	$full_site = 'http://staging.socialguides.com/scripts/scbm/template';
	
	if ( (strpos($detect, 'mobile')) == false )	{
		header("location: $full_site");
	}
}

?>

<html>

<head>
  <link href='http://fonts.googleapis.com/css?family=Ubuntu:light,regular,bold' rel='stylesheet' type='text/css'>
  <link rel="stylesheet" href="../mob_tour_style.css">
</head>

<body>
<div id="mobile_frame">

	<div id="top_box">	<! Header box !>
		<! title !>
		<div id="top_main_title">
			<div id="top_title_wrapper">
				<span id="top_title_text">SCPL</span> Bookmarks</span>
			</div>
		</div>
	
		<! bookmark !>
		<div id="top_bookmark_icon">		
			<img src="../images/bookmark.png">
		</div>
	
		<! image !>
		<div id="top_graphic">
			<img src="../images/pacificave_tour.png">
		</div>	
	</div>

	<! Body box !>
	<div id="body_box">
		<! subtitle !>
		<div id="body_main_title">
			<div id="body_title_wrapper">
				<span id="body_title_text">Popular Tours</span>
			</div>
		</div>

		<! body !>
		<div>
			<div id="body_wrapper">
				<span id="body_text">
Current Tour: <a href="pacificave">Historical Downtown</a>
<p>
This tour takes you through the downtown district of Santa Cruz, highlighting the historical locations that makes this city one of the gems of old California.  But not all is old - when traveling around, be sure to notice the local stores & restaurants.

</p>
				</span>

				<div style="font-size:11px; margin-top:20px;">
					Other Popular Tours
					<ul>
						<li>West Cliff Walk</li>
						<li>San Lorenzo River</li>
						<li>Pleasure Point</li>
					</ul>
				</div>

				<div id="more_link_wrapper"><a id="more_link" href="../" target="_blank">more tours</a></div>
			</div>
		</div>
	</div>

	<! Buttons box !>
	<div id="bottom_buttons_box">

		<! buttons wrapper !>
		<div>
			<! Tours !>
			<a class="bottom_buttons_links" href="tours">
				<div class="bottom_buttons_wrapper">
					<div id="bottom_button_tours">TOURS</div>
				</div>
			</a>
		
			<! Topics !>
			<a class="bottom_buttons_links" href="topics">
				<div class="bottom_buttons_wrapper">
					<div id="bottom_button_topics">TOPICS</div>
				</div>
			</a>
		
			<! Nearby !>
			<a class="bottom_buttons_links" href="nearby">
				<div class="bottom_buttons_wrapper">
					<div id="bottom_button_nearby">NEARBY</div>
				</div>
			</a>
		</div>
	</div>

</div>

</body>
</html>